package com.livery.data;

import java.math.BigDecimal;
import java.util.Date;

public class Transaction {

	private int id;
	private Client client;
	private Car car;
	private Worker pickWorker;
	private Worker dropWorker;
	private Date pickDate;
	private Date dropDate;
	private BigDecimal price;
	
	public Transaction(){
		
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Client getClient() {
		return client;
	}

	public void setClient(Client client) {
		this.client = client;
	}

	public Car getCar() {
		return car;
	}

	public void setCar(Car car) {
		this.car = car;
	}

	public Worker getPickWorker() {
		return pickWorker;
	}

	public void setPickWorker(Worker pickWorker) {
		this.pickWorker = pickWorker;
	}

	public Worker getDropWorker() {
		return dropWorker;
	}

	public void setDropWorker(Worker dropWorker) {
		this.dropWorker = dropWorker;
	}

	public Date getPickDate() {
		return pickDate;
	}

	public void setPickDate(Date pickDate) {
		this.pickDate = pickDate;
	}

	public Date getDropDate() {
		return dropDate;
	}

	public void setDropDate(Date dropDate) {
		this.dropDate = dropDate;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	
	
}
